package com.feicheng.iou.service;

import com.feicheng.iou.entity.Payment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.iou.pojo.InterviewPOJO;
import com.feicheng.iou.pojo.PaymentPOJO;
import com.feicheng.iou.result.ResultInfo;
import com.feicheng.iou.result.ResultInfoV110;

import javax.servlet.http.HttpServletRequest;
//import org.apache.catalina.servlet4preview.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tianchunlei
 * @since 2021-06-28
 */
public interface PaymentService extends IService<Payment> {

    //根据状态查询列表接口
    ResultInfoV110 listAll(PaymentPOJO PaymentPOJO);

    //根据状态查询数据列表个数接口
    ResultInfoV110 statistics();

    //申请通过操作接口
    ResultInfoV110 operationPass(Integer paymentId, HttpServletRequest request);

    //申请未通过操作接口
    ResultInfoV110 operationNoPass(Integer paymentId,HttpServletRequest request);

    //取消申请操作接口
    ResultInfoV110 operationhalt(Integer paymentId,HttpServletRequest request);
}
